<script setup lang='ts'>
import { onMounted } from "vue";
import { useRoute } from "vue-router";
import { useMultiTagsStore } from "@/stores/multiTags";

const route = useRoute();

onMounted(() => {
    useMultiTagsStore().updateTabTitle(route, `${route.params.id}`);
});
</script>

<template>
    <el-card>
        <div>query: {{ $route.query }}</div>
        <div>params: {{ $route.params }}</div>
    </el-card>
</template>
